//
//  HMAddPatriarchCell.m
//  优学荟管理系统
//
//  Created by 陈辉明 on 2017/12/13.
//  Copyright © 2017年 星道三好. All rights reserved.
//

#import "HMAddPatriarchCell.h"
#import "HMAddPatriarchModel.h"

@interface HMAddPatriarchCell()

@end

@implementation HMAddPatriarchCell


-(void)setModel:(HMAddPatriarchModel *)model {
    _model = model;
    self.nameLabel.text = model.petName;
    self.telLabel.text = model.username;
    [self.picImage sd_setImageWithURL:[NSURL URLWithString:model.avatar] placeholderImage:[UIImage imageNamed:@"bg_picture_default"]];
}


@end
